<template>
  <c-home>
    <!-- 侧边栏 -->
    <div>
        <vaside />
    <div>
    </div>
    <!-- 内容 -->
    <div >
      <vcontent />
    </div>
    </div>
  </c-home>
</template>

<script>
import vaside from "./aside.vue";
import vcontent from "../content.vue";
export default {
  components: {
    vaside,
    vcontent,
  },
  beforeRouteEnter (to, from, next) {
      console.log('beforeRouteEnter');  
      next()
  },
  beforeRouteLeave(to,from,next){
      console.log('beforeRouteLeave');
      next()
  },
  beforeRouteUpdate(to,from,next){
    console.log("beforeRouteUpdata");
    next()
  }
};

</script>

<style>
</style>